
Page({
  data: {
    catelist:["男装","女装","零食","家电","家具","床上用品"],
    bannerlist:[{
      url:"../../images/banner1.jpg"
    },{
      url:"../../images/banner2.jpg"
    },{
      url:"../../images/banner3.jpg"
    }],
    danmulist:[{
      text:"网院",
      color:"#ff0000",
      time:1
    },
  {
    text:"电大",
    color:"#E64E69",
    time:3
  }]
  },
  onLoad() {
  
  },
  checkboxChange:function(e){
    var then=this;
    var likestr="";
    for (let index = 0; index < e.detail.value.length; index++) {

     likestr = likestr+ e.detail.value[index];
      
    }
    
    then.setData({
      likes:likestr
      
    })
    console.log(e)
    console.log(e.detail.value[0])
  },
})
